import { createSlice } from "@reduxjs/toolkit";

const slice = createSlice({
  name: "ProductRiceText",
  initialState: {
    title: {},
    URL: "",
  },
  reducers: {
    TitleBC: (state, action) => {
      state.title = action.payload;
    },
    URLBC: (state, action) => {
      state.URL = action.payload;
    },
  },
});

export const { TitleBC, URLBC } = slice.actions;
export default slice.reducer;
